
public class Example4_2 {
   public static void main (String args[]) {
     Point p1,p2;
     p1 = new Point(10,20);
     p2 = new Point(23,35);
   }
}

